package flex.cc.fenfa.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import flex.cc.fenfa.dao.RuleServicerDao;
import flex.cc.fenfa.dto.RuleServicerEntity;
import flex.cc.fenfa.service.RuleServicerService;

/**
*
* @author WANGCONG
* 2021年10月12日下午3:23:06
* @desc 规则对应服务商实现层
*/
@Service("ruleServicerService")
@Transactional(rollbackFor = Exception.class)
public class RuleServicerServiceImpl extends ServiceImpl<RuleServicerDao, RuleServicerEntity> implements RuleServicerService{

	@Resource
	private RuleServicerDao servicerDao;
	
	/**
	 * 
	 * @author WANGCONG
	 * 2021年10月14日下午2:03:53
	 * @desc 根据规则Id对应的服务商
	 */
	@Override
	public List<RuleServicerEntity> queryListByRuleId(String ruleId) {
		return servicerDao.queryListByRuleId(ruleId);
	}

}
